<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    
    <title>首页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
 	<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<link href="css/bootstrap.min.css" rel="stylesheet"> 
		 <link rel="stylesheet" href="css/bootstrap-3.3.7-dist/css/bootstrap.min.css"> 
	
	<!--  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> -->
	
  </head>
  
  <body>
   <script type="text/javascript">
  		$(document).ready(function(){
  			//window.parent.right.location.href='announcement.jsp';
  			$.ajax({
  				url:"${pageContext.request.contextPath}/announcement/findAll",
  				dataType:"json",
  				type:"post",
  				success:function(data, status){
  					for(var i = 0; i < data.data.length; i++)
  					{
  						$("#o").append("<li>"+"<a href='announcementdetail.jsp?aid="+data.data[i].aid+"'>"+data.data[i].aname+"</a>"+"&emsp;&emsp;&emsp;"+data.data[i].time+"</li>");
  					}		
  			}});
  			
  	/* 		$.ajax({
  				url:"${pageContext.request.contextPath}/staff/findAll",
  				dataType:"json",
  				type:"post",
  				success:function(data,status){
  					for(var i = 0; i<data.data.length; i+=3)
  					{
  						$("#t").append("<tr class='success'><td width='30%'>"+data.data[i].staffid+"</td><td width='30%'>"+data.data[i].depart1+"</td><td width='50%'>"+data.data[i].depart2+"</td></th>");
  						$("#t").append("<tr><td>"+data.data[i+1].staffid+"</td><td>"+data.data[i+1].depart1+"</td><td>"+data.data[i+1].depart2+"</td></th>");
  						$("#t").append("<tr class='warning'><td>"+data.data[i+2].staffid+"</td><td>"+data.data[i+2].depart1+"</td><td>"+data.data[i+2].depart2+"</td></th>");
  					}
  				}
  			}); */
  			
  			$.ajax({
  				url:"${pageContext.request.contextPath}/announcement/findAllM",
  				dataType:"json",
  				type:"post",
  				success:function(data, status){
  					for(var i = 0; i < data.data.length; i++)
  					{
  						if(data.data[i].type=="flow")
  						{
  							$("#f").append("<li>"+data.data[i].content+"</li>");
  						}
  						if(data.data[i].type=="ruler")
  						{
  							$("#r").append("<li>"+data.data[i].content+"</li>");
  						}
  						if(data.data[i].type=="doc")
  						{
  							$("#d").append("<li>"+"<a  target='_black' href='http://"+data.data[i].mmid+"'>"+data.data[i].content+"</li>");
  						}
  					}		
  			}});
  		});
  </script>
    <div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<div class="carousel slide" id="carousel-929110">
				<ol class="carousel-indicators" >
					<li class="active" data-slide-to="0" data-target="#carousel-929110">
					</li>
					<li data-slide-to="1" data-target="#carousel-929110">
					</li>
					<li data-slide-to="2" data-target="#carousel-929110">
					</li>
				</ol>
		<!-- 		<div class="carousel-inner">
					<div   class="item active" >
						<img alt="" src="images/ruijie.jpg" class="img-responsive center-block" />
		
					</div>
					
				
			</div> -->
			<h3 class="text-center">
				资质系统
			</h3>
			
			<ul  class="nav nav-tabs">
				<li class="active" >
					 <a href='<c:url value='/top.jsp'/>'>首页</a>
				</li>&emsp;
				<li>
					<a href='<c:url value='/body.jsp'/>'>详情</a>
				</li>&emsp;
				<li class="disabled">
					 <a href="#">信息</a>
				</li>
			</ul>		
			</div>
			</div>
			 <div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<div class="row clearfix">
				<div class="col-md-4 column">
					<h3 class="text-center">
							资质进展 
						</h3>
					<table class="table">
						<thead>
							<tr>
								<th>
									链接
								</th>
							</tr>
							
						</thead>
						<tbody id="t">
							<tr class="success">
								<td>
								<a href="<c:url value='body.jsp'/>" >资质详情</a>
								</td>
							</tr>
						</tbody>
					</table>
	
				</div>
				<div class="col-md-4 column"  style="word-break: break-all;">
						<h3 class="text-center">
							资质公告
						</h3>
						<br/>			  		
						<ol id="o">
				
						</ol>
				</div>
				<div class="col-md-3.5 column" >
					<ul class="breadcrumb">
						<li>
							 员工登录
						</li>
						<li>
							 教员登录
						</li>
						<li>
							 <a href="<c:url value='jsps/login/adminlogin.jsp'/>" target="_black">管理员登录</a>
						</li>
					</ul>
<%-- 					<iframe name="iframe" height="52%" width="90%" frameborder="0" src="<c:url value='jsps/login/adminlogin.jsp'/>" name="left" ></iframe>
 --%>				</div>
			</div>
			<div class="row clearfix">
				<div class="col-md-4 column" style="word-break: break-all;">
						<h3 class="text-center">
							研究院技能域认证
						</h3>
					<ol id="r">
						
					</ol>
				</div>
				<div class="col-md-4 column" style="word-break: break-all;">
					<h3 class="text-center">
							资质流程
						</h3>
					<ol id="f">
						
					</ol>
				</div>
				<div class="col-md-4 column" style="word-break: break-all;">
						<h3 class="text-center">
							资质文档
						</h3>
					<ol id="d">
					
					</ol>
				</div>
			</div>
		</div>
	</div>
</div>
		</div>
	</div>
</div>
  </body>
</html>
